import java.util.ArrayList;
import java.util.LinkedList;
import java.util.PriorityQueue;
import java.util.Queue;

public class Test2 {
    public static void main(String[] args) {
     HeadMap headMap=new HeadMap();
     int[] arr=new int[]{27,89,23,12,78,96,24};
     headMap.InitHeap(arr);
     headMap.creatHeadMap1();
     headMap.mapsort();

         System.out.println("da");

    }
}
